package models

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	ProductImage string  `gorm:"type:varchar(255);not null;comment:商品图片"`
	ProductName  string  `gorm:"type:varchar(20);not null;comment:商品名称"`
	ProductPrice float32 `gorm:"type:decimal(10,2);not null;comment:商品价格"`
	ProductType  string  `gorm:"type:varchar(20);not null;comment:商品类型"`
	Status       int64   `gorm:"type:int(3);not null;comment:状态 1-上架 2-下架"`
}
